package com.dz.service;

import com.dz.bean.Guide;
import com.dz.bean.Visitor;
import com.dz.util.Page;

import java.util.List;

public interface VisitorService {


    Visitor add(Visitor visitor);

    int delete(Integer id);

    Visitor edit(Visitor visitor);

    List<Visitor> all(Visitor visitor);

    Visitor findById(Integer id);

    void page(Page page, Visitor visitor);

    Visitor getByUsername(String username);

    Visitor getByPhone(String phone);
}
